<!doctype html>
<html>
<head>
    <meta charset="utf-8">
    <title>会员登录 - {g:b_config$c_title@}</title>
    <link href="css/960_24_col.css" rel="stylesheet" type="text/css" />
    <link href="css/style.css" rel="stylesheet" type="text/css" />
    <script src="/js/jquery.js" type="text/javascript"></script>
    <script src="/js/jquery-migrate.js" type="text/javascript"></script>
    <script src="/js/jspublic.js" type="text/javascript"></script>
	<script type="text/javascript">
		$(function(){
		    $('#loginform').Validform({
		        showAllError: true,
		        btnSubmit: "#login_sub",
		        label: ".tip",
		        tiptype: 3,
				postonce:true,
				ajaxPost: true,
				callback: function (form) {
				    $.msg({ content: form.responseText });
				}
			});
            /*
			$('#login_sub').click(function () {
			    //$('#loginform').submit();
			    $.ajax({
			        type: "POST",
			        url: "/include/login.ashx",
			        //我们用text格式接收
			        dataType: "text",
			        data: { 'email': $('#email').val(), 'pwd': $('#pwd').val() },
			        success: function (msg) {
			            $.msg({
			                content: msg,
			                centerY: false,
			                showOverlay: false
			            });
			            //alert(msg);
			            //显示后台数据
			            //$("#vocaspec").html(msg);
			            // $("#industr").html(industr);
			        }
			    });

			});
            */
			$("input[type='checkbox']").attr("checked",false); 
			$('#remember').bind('click',function(){
                var _arry=$('#user_page ul li:checkbox').not($(this));
                if(this.checked)
                {
                    $.each(_arry,function(n,o){
                        o.checked=true;
                    });
					$('#cookieset').show();
                }
                else
                {
                    $.each(_arry,function(n,o){
                        o.checked=false;
                    });
					$('#cookieset').hide();
                }                 
			});
		});
	</script>
</head>

<body>

	{baohan:template/tmask/m_head.html}{/baohan}
	
	<div class="container_24 mainBG top20">
		<div class="grid_24">
			<div id="user_page">
				<form id="loginform" name="loginform" class="iform" action="/include/login.ashx" method="post">
					<h2>登录市委书记专属版</h2>
					<ul>
						<li>
							<label>电子邮件：</label><input id="email" class="TEXT" datatype="e" name="email" type="text" nullmsg="请输入您注册时填写的邮箱地址" errormsg="邮箱格式不正确，如：abc@163.com" />
							<span class="tip"></span>
						</li>
						<li>
							<label>密码：</label><input id="pwd" class="TEXT" datatype="*6-16" name='pwd' type="password" nullmsg="请输入您注册时填写的用户密码" errormsg="密码范围在6~16位任意字符之间" />
							<span class="tip"></span>
						</li>
						<li>
							<label></label><input name="remember" type="checkbox" id="remember" />
							记住我的登录状态
							<span style="color:#A00;">（请勿在公用电脑或者网吧内使用此项）</span>
						</li>
						<li id="cookieset" style="display: none;">
							<label></label>记住登录状态
							<select id="savedays" name="savedays">
								<option value="30" selected>30分钟</option>
								<option value="60">1小时</option>
								<option value="24">一天</option>
								<option value="31">一月</option>
								<option value="365">一年</option>
							</select>
						</li>
						<li>
							<label></label><a id="login_sub" class="BUTTON SUBMIT" title="现在登录">现在登录</a>
                            <div class="Validform_info"></div>
						</li>
					</ul>
				</form>
				<div id="login_tip">
					没有帐号？ <a href="{hanshu:Getlink@reg,}">注册新会员</a>
					<h3>登录后可以？</h3>
					<ol>
						<li>投诉建议</li>
						<li>参与讨论和评论</li>
					</ol>
				</div>
			</div>
		</div>
	</div>

    {baohan:template/tmask/m_foot.html}{/baohan}

</body>
</html>
